package com.sunny.myproject.sales.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sunny.myproject.client.entity.Client;
import com.sunny.myproject.system.entity.IdEntity;

/**
 * 销售订单
 * @author sunny_nie
 *
 */
@Entity
@Table(name="tb_orderForm")
public class OrderForm extends IdEntity{

	private Client client;
	private String code;
	private Date startDate;
	private Date endDate;
	private String saler;
	private String tax;
	private String status;
	private String moneyType;
	private String isMrp;
	
	@ManyToOne(targetEntity=Client.class)
	public Client getClient() {
		return client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getSaler() {
		return saler;
	}
	public void setSaler(String saler) {
		this.saler = saler;
	}
	public String getTax() {
		return tax;
	}
	public void setTax(String tax) {
		this.tax = tax;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMoneyType() {
		return moneyType;
	}
	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}
	public String getIsMrp() {
		return isMrp;
	}
	public void setIsMrp(String isMrp) {
		this.isMrp = isMrp;
	}
	
	
}
